//
//  YKUMSDK+MobClick.m
//  YKUMSDK
//
//  Created by edward on 2022/9/19.
//

#import "YKUMSDK+MobClick.h"
#import <UMCommon/MobClick.h>

@implementation YKUMSDK (MobClick)

+ (void)profileSignInWithPUID:(NSString *)puid provider:(NSString  * _Nullable  )provider
{
    if (provider) {
        [MobClick profileSignInWithPUID:puid provider:provider];
    }else {
        [MobClick profileSignInWithPUID:puid];
    }
}

+ (void)setAutoPageEnabled:(BOOL)value
{
    [MobClick setAutoPageEnabled:value];
}

/** 判断设备是否越狱，依据是否存在apt和Cydia.app
 */
+ (BOOL)isJailbroken
{
    return [MobClick isJailbroken];;
}

/** 判断App是否被破解
 */
+ (BOOL)isPirated
{
    return [MobClick isPirated];
}

@end
